﻿namespace DeltaGroup.WheelOfJeopardy.Model
{
    public class CategorySector : Sector
    {
        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="CategorySector"/> class.
        /// </summary>
        /// <param name="category">The category.</param>
        public CategorySector(string category)
        {
            Category = category;
        }

        #endregion Constructors

        #region Properties

        /// <summary>
        /// Gets or sets the caption.
        /// </summary>
        /// <value>The caption.</value>
        public override string Caption
        {
            get
            {
                return Category;
            }
        }

        /// <summary>
        /// Gets or sets the category.
        /// </summary>
        /// <value>The category.</value>
        public string Category
        {
            get;
            set;
        }

        #endregion Properties
    }
}